package homework;

import java.util.Scanner;

public class Homework4 {

	public static void main(String[] args) {
		Scanner input = new Scanner(System.in);
		System.out.println("请输入会员的姓名：");
		String name = input.next();
		System.out.println("请输入会员性别：");
		String gender = input.next();
		System.out.println("请输入会员年龄：");
		int age = input.nextInt();
		System.out.println("创建会员成功：");
		System.out.println("会员编号：" + (int) (Math.random() * 10) + "" + (int)( Math.random() * 10) + ""
				+ (int) (Math.random() * 10) + "" + (int)( Math.random() * 10));
		System.out.println("会员详细信息：\n" + name + "\t" + gender + "\t" + age);
	}

}
